package com.demohomework.homeworkdemo.service;

import com.demohomework.homeworkdemo.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    Teacher findbyUsername(String username);

    void register(String username, String password);

    void update(Teacher teacher);

    void updatePwd(String newPwd);

    List<Teacher> list();

    void delete(Integer id);

    void add(Teacher teacher);

    Teacher get(Integer id);
}
